<template>
  <div class="hm-nav">
    <div class="name">{{ name }}</div>
    <div class="desc">{{ desc }}</div>
    <div class="right-arrow">
      <i class="iconfont iconjiantou1"></i>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    name: {
      type: String,
      required: true
    },
    desc: {
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>
.hm-nav {
  display: flex;
  height: 50px;
  line-height: 50px;
  margin: 0 10px;
  border-bottom: 1px solid #eee;

  .name {
    font-size: 14px;
    color: #000;
  }

  .desc {
    padding-right: 5px;
    flex: 1;
    text-align: right;
    font-size: 13px;
  }
}
</style>
